var mongoose = require('mongoose');
var Schema = mongoose.Schema;

// 项目
var ProjectSchema = new Schema({
    title: {type: String}, // 标题
    content: {type: String}, // 内容
    create_at: {type: Date, default: Date.now} // 创建时间
});

mongoose.model('Project', ProjectSchema);